PROGRAMS = winegcc

MANPAGES = winegcc.man.in

winegcc_SYMLINKS = winecpp wineg++

C_SRCS = \
	utils.c \
	winegcc.c

winegcc_EXTRADEFS = \
	-DINCLUDEDIR="\"${includedir}\"" \
	-DLIBDIR="\"${libdir}\"" \
	-DBIN_TO_INCLUDEDIR=\"`$(MAKEDEP) -R ${bindir} ${includedir}`\" \
	-DBIN_TO_LIBDIR=\"`$(MAKEDEP) -R ${bindir} ${libdir}`\" \
	-DCC="\"$(CC)\"" \
	-DCPP="\"$(CPPBIN)\"" \
	-DCXX="\"$(CXX)\"" \
	-DLD="\"$(LD)\"" \
	-DPRELINK="\"$(PRELINK)\""

INSTALL_DEV = $(PROGRAMS) $(winegcc_SYMLINKS)
